package com.hongguan.oms.service.AfterService;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.hongguan.oms.service.BaseService;

/**
 *
 * @author	tonylin <br>
 * @create	2011-1-8 <br>
 * @project	Haojin <br>
 * @copyright 2011 HongGuan Information. All rights reserved
 * @desc <br>
 */

@SuppressWarnings("unchecked")
@Service
public class AfterService extends  BaseService{
	public AfterService() {
		this.namespace = "AfterService";
	}
	
	
	
	
	public List searchAfterOrder(Map<String, Object> map) {
		return this.getSqlMapClientTemplate().queryForList(
				this.getStatementName("searchAfterOrder"), map);
	}
	
	public void addAfterOrderByperson(Map<String, Object> map){
		this.getSqlMapClientTemplate().insert(
				this.getStatementName("addAfterOrderByperson"), map);
	}
	
	
	public void updateAfterOrder(Map<String, Object> map) {
		this.getSqlMapClientTemplate().insert(
				this.getStatementName("updateAfterOrder"), map);
	}
	
	
	
	
	public void addAfterOrder(Map<String, Object> map) {
		this.getSqlMapClientTemplate().insert(
				this.getStatementName("addAfterOrder"), map);
	}
	
}
